package com.codeduck.storage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.codeduck.storage.domain.StorageDO;

import java.util.List;

/**
 * @author: <a href="mailto:codeduck@163.com">Codeduck</a>
 * @createDate: 2022-08-20
 */
public interface IStorageService extends IService<StorageDO> {

    StorageDO decreaseStorage(String commodityCode, Integer count);

    StorageDO getStorage(String commodityCode);
}
